#include "Effect.h"

Effect::~Effect()
{
    if(ani!=nullptr){
        delete ani;
    }
}

real Effect::getFacing()
{
    return facing;
}

IAnimation *Effect::getAnimation()
{
    return ani;
}

SDL_Color Effect::getColor()
{
    return color;
}

void Effect::setColor(SDL_Color color)
{
    this->color = color;
}
